	public static int proudlyOffset = 0;
	
	public void UpdateMainLoading()
	{
		#ifdef USE_DRAWRGB
		if(logo_fadeIn && logo_alphaLevel > LOGO.ALPHA_LEVEL_END)
		{
			logo_alphaLevel-=LOGO.ALPHA_STEP;
		}
		else if(logo_alphaLevel == 0)
		{
			if(fadeInEnd == 0)
				fadeInEnd = System.currentTimeMillis();
			logo_fadeIn = false;
		}
		#else
		cGame_g.setColor(LOGO.BACKGROUND_COLOR);
		cGame_g.fillRect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);
		#endif

		if(System.currentTimeMillis() % 4 == 0)
			proudlyOffset++;
		
		#ifdef USE_DRAWRGB
		if(!logo_fadeIn && logo_alphaLevel < LOGO.ALPHA_LEVEL_START && System.currentTimeMillis() - fadeInEnd > LOGO.PROUDLY_SHOW_TIME)
		{
			logo_alphaLevel+=LOGO.ALPHA_STEP;
		}
		#endif
		
		cGame_g.setColor(LOGO.BACKGROUND_COLOR);		
		#if SCREEN_WIDTH==128
			cGame_g.fillRect(LOGO.PROUDLY_X, LOGO.PROUDLY_Y, SPRITES.PROUDLY_MODULE_W, SPRITES.PROUDLY_MODULE_H);
			cGame_g.drawRegion(logoImg, SPRITES.PROUDLY_MODULE_X, SPRITES.PROUDLY_MODULE_Y, SPRITES.PROUDLY_MODULE_W, SPRITES.PROUDLY_MODULE_H, 0, LOGO.PROUDLY_X, LOGO.PROUDLY_Y, 0);
		#else
			cGame_g.fillRect(LOGO.PROUDLY_X + proudlyOffset - 1, LOGO.PROUDLY_Y, SPRITES.PROUDLY_MODULE_W, SPRITES.PROUDLY_MODULE_H);
			cGame_g.drawRegion(logoImg, SPRITES.PROUDLY_MODULE_X, SPRITES.PROUDLY_MODULE_Y, SPRITES.PROUDLY_MODULE_W, SPRITES.PROUDLY_MODULE_H, 0, LOGO.PROUDLY_X + proudlyOffset, LOGO.PROUDLY_Y, 0);
		#endif
		
		#ifdef USE_DRAWRGB
		cGame_g.setColor(LOGO.BACKGROUND_COLOR);
		#if SCREEN_WIDTH==128
		cGame_g.drawAlphaRect(LOGO.PROUDLY_X, LOGO.PROUDLY_Y, SPRITES.PROUDLY_MODULE_W, SPRITES.PROUDLY_MODULE_H, logo_alphaLevel);
		#else
		cGame_g.drawAlphaRect(LOGO.PROUDLY_X + proudlyOffset, LOGO.PROUDLY_Y, SPRITES.PROUDLY_MODULE_W, SPRITES.PROUDLY_MODULE_H, logo_alphaLevel);
		#endif
		
		if(logo_alphaLevel == LOGO.ALPHA_LEVEL_START)
		#else
		if(proudlyOffset > LOGO.PROUDLY_MAX_OFFSET)
		#endif
		{
			SetState(STATES.SPLASH);
			#ifdef USE_DRAWRGB
			logo_fadeIn = true;
			fadeInEnd = 0;
			#endif
		}
	}